/**
 * Copyright 2008-2009. Chongqing Communications Industry Services Co.,Ltd Information Technology Branch. All rights
 * reserved. <a>http://www.cqcis.com</a>
 */
package com.firebird.base.orm.jdbc;

import org.springframework.jdbc.core.simple.SimpleJdbcDaoSupport;
import org.springframework.jdbc.core.simple.SimpleJdbcTemplate;

/**
 * @author qiuxj
 * @date 2009-11-14
 */
public class BaseJdbcDao extends SimpleJdbcDaoSupport {
	
	  public static final long MAX_ROW = 20000L;
	  private BaseJdbcTemplate baseJdbcTemplate;

	  protected void initTemplateConfig()
	  {
	    this.baseJdbcTemplate = new BaseJdbcTemplate(getJdbcTemplate());
	  }

	  public BaseJdbcTemplate getBaseJdbcTemplate() {
	    return this.baseJdbcTemplate;
	  }

	  public SimpleJdbcTemplate getSimpleJdbcTemplate()
	  {
	    return this.baseJdbcTemplate;
	  }
}
